package com.example.springbootuploadanddownload.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName(value = "files")
public class Files {
    @TableId(type = IdType.AUTO)
    private Integer uid;
    private String name;
    private byte[] file;
//    private Blob file;
    @JsonProperty("pro_id")
    private String proId;
}